package com.zr.inquiry.service;

import com.zr.inquiry.pojo.InquiryAddVo;
import com.zr.inquiry.pojo.InquirySelectVo;
import com.zr.inquiry.pojo.InquiryUpdateVo;
import com.zr.util.ResultVo;

import javax.validation.Valid;

/**
 * Created by 陈紫陌 on 2019-10-09.
 */
public interface InquiryService {
    ResultVo addInquiry(@Valid InquiryAddVo inquiryAddVo);

    ResultVo queryById(Integer id);

    ResultVo updateInquiry(@Valid InquiryUpdateVo inquiryUpdateVo);

    ResultVo queryPage(@Valid InquirySelectVo inquirySelectVo);

}
